package flc.ast.bean;

import androidx.annotation.Keep;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class GuessBankBean {


    @SerializedName("name")
    public String name;
    @SerializedName("list")
    public List<ListDTO> list;

    public static class ListDTO {
        @SerializedName("type")
        public String type;
        @SerializedName("wordList")
        public List<String> wordList;

        public ListDTO(String type, List<String> wordList) {
            this.type = type;
            this.wordList = wordList;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public List<String> getWordList() {
            return wordList;
        }

        public void setWordList(List<String> wordList) {
            this.wordList = wordList;
        }

        @Override
        public String toString() {
            return "ListDTO{" +
                    "type='" + type + '\'' +
                    ", wordList=" + wordList +
                    '}';
        }
    }

    public GuessBankBean(String name, List<ListDTO> list) {
        this.name = name;
        this.list = list;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public List<ListDTO> getList() {
        return list;
    }

    public void setList(List<ListDTO> list) {
        this.list = list;
    }


    @Override
    public String toString() {
        return "GuessBankBean{" +
                "name='" + name + '\'' +
                ", list=" + list +
                '}';
    }
}
